package com.jgzx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jgzx.domain.IdDTO;
import com.jgzx.domain.po.EnterprisePublicityPO;
import com.jgzx.domain.vo.EnterprisePublicityVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 企业宣传视频Mapper
 * @author libo
 * @date 2021/10/22 16:35
 */
public interface EnterprisePublicityMapper extends BaseMapper<EnterprisePublicityPO> {

    List<EnterprisePublicityVO> listAll(@Param("enterprise_id") Long enterprise_id);

    EnterprisePublicityVO getPublicity(@Param("dto") IdDTO idDTO, @Param("enterprise_id") Long enterprise_id);

}
